package cn.itcast.order.web;

import cn.itcast.order.pojo.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloNacosController
 * @Description TODO
 * @Author zhengzengliang
 * @Date 2022/1/7 17:40
 * @Version 1.0
 */
@RestController
@RequestMapping("/hello")
public class HelloNacosController {

    @GetMapping("/na")
    public String queryOrderByUserId() {
        // 根据id查询订单并返回
        return "Hello nacos";
    }

}
